/**
 * Copyright (c) 2014 zhenrongbao.com, Inc. All Rights Reserved
 * @author: jiangshuguang
 * @Date  : 14-12-28
 * @Time  : 下午10:34
 * @brief :
 */
(function () {
    var $page = $('.page-demand');
    $page.find('.block-question .ask').on('click',function(){
        var $next = $(this).next();
        if($next.css('display') == "block"){
            $next.hide();
            $(this).find('.btn-ext').removeClass('active');
        }else{
            $next.show();
            $(this).find('.btn-ext').addClass('active');
        }

    });
})();